<?php


namespace Modules\Common\Helpers;


use BenSampo\Enum\Contracts\LocalizedEnum;
use BenSampo\Enum\Enum;

class ApiCode extends Enum implements LocalizedEnum
{
    //账号相关  11000
    public const ACCOUNT_PASSWORD_ERROR       = 11000;      //账号或密码错误
    public const PASSWORD_ERROR               = 11001;      //密码错误
    public const CANT_DELETE_MYSELF           = 11002;//无法删除自己
    public const UNABLE_TO_DELETE_SUPER_ADMIN = 11003;//无法删除超级管理员

    public const VERIFICATION_ERROR           = 422;  //表单验证失败
}
